using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Common.Results
{
    /// <summary>
    /// 简单API响应包装类
    /// </summary>
    public class SimpleAPIResult
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }
        
        /// <summary>
        /// 返回的消息提示
        /// </summary>
        public string Message { get; set; } = string.Empty;
        
        /// <summary>
        /// 返回的数据
        /// </summary>
        public object Data { get; set; }
        
        /// <summary>
        /// 返回的状态码
        /// </summary>
        public EnumResult Code { get; set; }
    }
} 